

package my.example;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.SimpleTagSupport;



public class MySimpleTag extends SimpleTagSupport {
	private String var;

	public void doTag() throws JspException {
		MyBean foobar = new MyBean("foobar", "barfoo",
				"0618002251");
		getJspContext().setAttribute(this.var, foobar);
	}

	public void setVar(String var) {
		this.var = var;
	}
}
